function loadOption(param) {
    return {
        grid:
                [
                    {
                        top: '10%',
                        height: "60%"
                    },
                    {
                        top: '70%',
                        height: "20%"
                    }
                ],
        xAxis:
                [
                    {
                        gridIndex: 0,
                        type: 'category',
                        axisLabel:
                                {
                                    show: false

                                },
                        axisTick:
                                {
                                    show: false
                                },
                        splitLine:
                                {
                                    show: true,
                                },
                        splitArea:
                                {
                                    show: false
                                },
                        boundaryGap: true,
                        data: param.date
                    },
                    {
                        gridIndex: 1,
                        type: 'category',
                        axisLabel:
                                {
                                    show: true,
                                },
                        splitLine:
                                {
                                    show: true,
                                },
                        splitArea:
                                {
                                    show: false
                                },
                        boundaryGap: true,
                        data: param.date
                    }
                ],
        yAxis:
                [
                    {
                        gridIndex: 0,
                        type: 'value',
                        scale: true,
                        splitNumber: 2,
                        axisLine:
                                {
                                    show: false
                                },
                        axisTick:
                                {
                                    show: false,
                                },
                        axisLabel:
                                {
                                    margin: 5,
                                    inside: false
                                },
                        splitLine: {
                            lineStyle:
                                    {
                                        type: "dashed"
                                    }
                        }
                    }, {
                        gridIndex: 1,
                        type: 'value',
                        axisLine:
                                {
                                    show: false
                                },
                        axisTick:
                                {
                                    show: false
                                },
                        axisLabel:
                                {
                                    show: false
                                },
                        splitLine: {
                            show: false
                        }
                    }
                ],
        series:
                [
                    {
                        xAxisIndex: [0],
                        yAxisIndex: [0],
                        name: 'KLine',
                        type: 'candlestick',
                        smooth: true,
                        symbol: 'none',
                        itemStyle: {
                            normal: {
                                color: "#B22222",
                                color0: "#006400",
                                borderColor: "#B22222",
                                borderColor0: "#006400"
                            }
                        },
                        lineStyle: {
                            normal: {
                                color: "rgb(0,180,255)"
                            }
                        },
                        areaStyle: {
                            normal: {
                                color: "rgba(0,180,255,0.2)"
                            }
                        },
                        data: param.data
                    },
                    {
                        xAxisIndex: [0],
                        yAxisIndex: [0],
                        name: '均线',
                        type: 'line',
                        smooth: true,
                        symbol: 'none',
                        itemStyle: {
                            normal: {
                                color: "#B22222"
                            }
                        },
                        data: param.lData
                    },
                    {
                        xAxisIndex: [1],
                        yAxisIndex: [1],
                        name: '成交量',
                        type: 'bar',
                        stack:"bar",
                        smooth: true,
                        symbol: 'none',
                        itemStyle: {
                            normal: {
                                color: "#B22222"
                            }
                        },
                        data: param.dData
                    },
                    {
                        xAxisIndex: [1],
                        yAxisIndex: [1],
                        name: '成交量',
                        type: 'bar',
                        stack:"bar",
                        smooth: true,
                        symbol: 'none',
                        itemStyle: {
                            normal: {
                                color: "#006400"
                            }
                        },
                        data: param.uData
                    }
                ]
    };
}